package com.aaa.service;

import com.aaa.entity.TenementCompany;
import com.aaa.entity.TenementPeople;
import com.aaa.query.TenementCompanyQuery;
import com.aaa.query.TenementPeopleQuery;
import com.aaa.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-01-19
 */
public interface ITenementPeopleService extends IService<TenementPeople> {
    /**
     * create by: 刘涛
     * description: 租户管理-个人表 模糊查询+分页+查询
     * create time: 2021/2/20 16:27
     *
     * @Param: null
     * @return Result
     */
    Result listAll(TenementPeopleQuery query);

    /**
     * create by: 刘涛
     * description: 租户管理-个人表 添加业务
     * create time: 2021/2/20 16:35
     *
     * @Param: null
     * @return
     */
    Result add(TenementPeople tenementPeople);
    /**
     * create by: 刘涛
     * description: 租户管理-个人表 删除业务
     * create time: 2021/2/20 17:29
     *
     * @Param: null
     * @return*/

    Result del(TenementPeople tenementPeople);

    /**
     * create by: 刘涛
     * description: 租户管理-企业表 根据id修改
     * create time: 2021/2/24 15:01
     *
     * @Param: null
     * @return
     */
    Result updatePeople(TenementPeople tenementPeople);
}
